package com.xiaolin.practice.pojo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
@Setter
@Getter
@Data
public class WorkOrder implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    private String orderNo;
    private Integer orderType; // 0交办 1直接答复 3无效工单
    private String title;
    private String content;
    private Integer handleDeptId; // 处理部门ID，外键
    private Date createTime;
    private Date fenpaiTime;
    private Integer isOverdue; // 0否 1是

    @Override
    public String toString() {
        return "WorkOrder{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", orderType=" + orderType +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", handleDeptId=" + handleDeptId +
                ", createTime=" + createTime +
                ", fenpaiTime=" + fenpaiTime +
                ", isOverdue=" + isOverdue +
                '}';
    }

}
